AggregateByVolume<TY>(IOhlcDataSeries<DateTime,TY>,IList<TY>,TY) Method
Filters data series by time aggregation
Syntax
[Extension()] [Obsolete("There is a critical flaw in AggregateByVolume<TY>(OhlcDataSeries, IList volumeData). The volume cannot be updated after first creating the filter. We suggest using AggregateByVolume with index instead", false)] public static IDataSeries AggregateByVolume<TY>( IOhlcDataSeries<DateTime,TY> dataSeries, IList<TY> volumeData, TY volumeCount ) where TY: IComparable
Parameters
- dataSeries
- Data series to be filtered
- volumeData
- The list of volumes. It should have the same count as data series
- volumeCount
- The count of volumes for each aggregated value
Type Parameters
- TY
- Type of Y values
Return Value
The filtered data series
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also